package com.sh.caryr.erp.entity.basis;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;

/**
 * <p>
 * 平台系统商品映射表
 * </p>
 *
 * @author milkeeper
 * @since 2017-11-28
 */
@TableName("erp_platform_system_mapping")
public class PlatformSystemMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
    /**
     * 平台ID，淘宝、京东等等电商平台
     */
	private Long platformId;
    /**
     * 平台名称
     */
	private String platformName;
    /**
     * 店铺id
     */
	private Long shopId;
    /**
     * 系统商品Id
     */
	private Long sysProductId;
    /**
     * 平台商品Id
     */
	private String platProductId;
    /**
     * 系统skuId
     */
	private Long sysSkuId;
    /**
     * 平台skuId
     */
	private String platSkuId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPlatformId() {
		return platformId;
	}

	public void setPlatformId(Long platformId) {
		this.platformId = platformId;
	}

	public String getPlatformName() {
		return platformName;
	}

	public void setPlatformName(String platformName) {
		this.platformName = platformName;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public Long getSysProductId() {
		return sysProductId;
	}

	public void setSysProductId(Long sysProductId) {
		this.sysProductId = sysProductId;
	}

	public String getPlatProductId() {
		return platProductId;
	}

	public void setPlatProductId(String platProductId) {
		this.platProductId = platProductId;
	}

	public Long getSysSkuId() {
		return sysSkuId;
	}

	public void setSysSkuId(Long sysSkuId) {
		this.sysSkuId = sysSkuId;
	}

	public String getPlatSkuId() {
		return platSkuId;
	}

	public void setPlatSkuId(String platSkuId) {
		this.platSkuId = platSkuId;
	}

	@Override
	public String toString() {
		return "PlatformSystemMapping{" +
			", id=" + id +
			", platformId=" + platformId +
			", platformName=" + platformName +
			", shopId=" + shopId +
			", sysProductId=" + sysProductId +
			", platProductId=" + platProductId +
			", sysSkuId=" + sysSkuId +
			", platSkuId=" + platSkuId +
			"}";
	}
}
